'use strict';

const Controller = require('egg').Controller;

class AuthController extends Controller {
  async register() {
    const { ctx } = this;
    ctx.body = 'register';
  }

  async login() {
    const { ctx } = this;
    ctx.body = 'login';
  }

  async auth() {
    const { ctx } = this;
    ctx.body = 'auth';
  }

  async logout() {
    const { ctx } = this;
    ctx.body = 'logout';
  }
}

module.exports = AuthController;
